package com.hanbang.maige.mode.javabean.home;

import com.hanbang.maige.utils.other.StringUtils;

/**
 * 作者　　: 李坤
 * 创建时间:2016/10/26　14:39
 * 邮箱　　：496546144@qq.com
 * <p>
 * 功能介绍：
 */

public class NewsItemData {


    /**
     * ID : 1983
     * url : http://www.aiweibang.com//yuedu/159216912.html
     * title : 这个女子团队太美了！首届“绣娘杯”苏州友好城市女子网球邀请赛正式开赛
     * img : http://awb.img1.xmtbang.com/cover201610/20161024/thumb/8c9080b688ab4322b4a04f4ce9095515.jpg
     * CONTENT : 首届“绣娘杯”苏州友好城市女子网球邀请赛正式开赛来自苏州、上海、嘉兴、重庆、宁波等五大城市的六支女子网球队激
     * YEAR : 2016
     * month : 10
     * day : 24
     * OrderIndex : 9999
     */

    private String ID;
    private String url;
    private String title;
    private String img;
    private String CONTENT;
    private int YEAR;
    private int month;
    private int day;
    private int OrderIndex;

    public String getID() {
        return ID;
    }


    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return StringUtils.dataFilter(title);
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCONTENT() {
        return StringUtils.dataFilter(CONTENT);
    }

    public void setCONTENT(String CONTENT) {
        this.CONTENT = CONTENT;
    }

    public int getYEAR() {
        return YEAR;
    }

    public void setYEAR(int YEAR) {
        this.YEAR = YEAR;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getOrderIndex() {
        return OrderIndex;
    }

    public void setOrderIndex(int OrderIndex) {
        this.OrderIndex = OrderIndex;
    }

    public CharSequence getTime() {
        return month + "-" + day;
    }
}
